<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<h3 style="margin-bottom: 30px;">${student.tbClass.className}:成绩表</h3>
<table class="table">
	<thead>
		<tr>
			<th>学号</th>
			<th>姓名</th>
			<c:forEach items="${allcourse }" var="c">
				<th>${c.courseName}</th>
			</c:forEach>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${allstudent }" var="s">
		<tr>
			<td>${s.stuNum}</td>
			<td>${s.name}</td>
			<c:forEach items="${s.grades }" var="a">
			<td>${a.grade}</td>
			</c:forEach>
		</tr>
		</c:forEach>
	</tbody>
</table>